export default class TableIndex {
    readonly name: string;
    readonly column: string;
    readonly unique: boolean = false;
    readonly multiEntry: boolean = false;

    constructor(name: string, column: string, unique?: boolean, multiEntry?: boolean) {
        this.name = name;
        this.column = column;
        this.unique = !!unique;
        this.multiEntry = !!multiEntry;
    }
}
